﻿Imports Control_Vuelos_BE
Imports Control_Vuelos_ADO

Public Class ProgramaViajeBL
    ReadOnly _ProgramaViajeADO As New ProgramaViajeADO()

    Public Function pr_CargarTipoVueloCupos(ByVal sTip As String) As Integer
        Return _ProgramaViajeADO.pr_CargarTipoVueloCupos(sTip)
    End Function

    Public Function pr_CrearProgramaViaje(ByVal pvBE As V_ProgramaViajeBE) As Boolean
        Return _ProgramaViajeADO.pr_CrearProgramaViaje(pvBE)
    End Function

    Public Function pr_EliminarProgramaViaje(ByVal sCodpv As String) As Boolean
        Return _ProgramaViajeADO.pr_EliminarProgramaViaje(sCodpv)
    End Function

    Public Function pr_Listar_ProgramaViaje(ByVal sCodUser As String, ByVal nOrd As Integer) As DataTable
        Return _ProgramaViajeADO.pr_Listar_ProgramaViaje(sCodUser, nOrd)
    End Function

    Public Function pr_ListarProgramaViajeTreeList(ByVal sCodUser As String) As DataTable
        Return _ProgramaViajeADO.pr_ListarProgramaViajeTreeList(sCodUser)
    End Function

    Public Function pr_ListarProgramaViajeTreeListCerrado(ByVal sCodUser As String) As DataTable
        Return _ProgramaViajeADO.pr_ListarProgramaViajeTreeListCerrado(sCodUser)
    End Function

    Public Function pr_ListarProgramaViajeTreeListChecking(ByVal p_CodUser As String) As DataTable
        Return _ProgramaViajeADO.pr_ListarProgramaViajeTreeListChecking(p_CodUser)
    End Function

    Public Function pr_ListarProgramaViajeTreeListCheckingCerrado(ByVal p_CodUser As String) As DataTable
        Return _ProgramaViajeADO.pr_ListarProgramaViajeTreeListCheckingCerrado(p_CodUser)
    End Function

    Public Function pr_ModificarProgramaViaje(ByVal pvBE As V_ProgramaViajeBE) As Boolean
        Return _ProgramaViajeADO.pr_ModificarProgramaViaje(pvBE)
    End Function

    Public Function pr_NuevoCorrelativo(ByVal sLug As String) As String
        Return _ProgramaViajeADO.pr_NuevoCorrelativo(sLug)
    End Function

    Public Function pr_TraerProgramaViaje(ByVal sCodpv As String) As V_ProgramaViajeBE
        Return _ProgramaViajeADO.pr_TraerProgramaViaje(sCodpv)
    End Function

End Class
